package entities;

import java.util.ArrayList;
import java.util.List;

import javax.enterprise.context.RequestScoped;
import javax.inject.Named;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

import org.hibernate.validator.constraints.Length;

import com.google.common.base.Objects;

@Entity()
@XmlRootElement 

public class Paiement extends Persistent {
	private String numero; 
	private String chiffres;
	private String dateExpirationChamps1;
	private String dateExpirationChamps2;
	private Order order;
	
	
	public String getNumero() {
		return numero;
	}
	public void setNumero(String numero) {
		this.numero = numero;
	}
	public String getChiffres() {
		return chiffres;
	}
	public void setChiffres(String chiffres) {
		this.chiffres = chiffres;
	}
	public String getDateExpirationChamps1() {
		return dateExpirationChamps1;
	}
	public void setDateExpirationChamps1(String dateExpirationChamps1) {
		this.dateExpirationChamps1 = dateExpirationChamps1;
	}
	public String getDateExpirationChamps2() {
		return dateExpirationChamps2;
	}
	public void setDateExpirationChamps2(String dateExpirationChamps2) {
		this.dateExpirationChamps2 = dateExpirationChamps2;
	}
	public Order getOrder() {
		return order;
	}
	public void setOrder(Order order) {
		this.order = order;
	}
	
	

}
